.role-expand-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.role-expand-card {
    width: 440px;
    height: 250px;
    position: relative;
}

.role-expand-bg {
    width: 440px;
    height: 250px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 0 30px 20px rgba(255,255,255,0.05);
    transform-origin: bottom;
    transition: 2s;
}

.role-expand-bg>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.role-expand-role {
    width: 440px;
    height: 230px;
    position: absolute;
    bottom: 0;
    transform-origin: bottom;
    transition: 2s;
}

.role-expand-role>img {
    width: 100%;
    height: 100%;
}

.role-expand-content {
    width: 440px;
    padding: 10px;
    color: #fff;
    position: absolute;
    bottom: -50px;
    opacity: 0;
    transition: 2s;
}

.role-expand-content>h1 {
    font-weight: 200;
    margin-left: 0px;
}

.role-expand-content>p {
    font-weight: 200;
    padding-top: 10px;
    font-size: 14px;
}

.role-expand-card:hover>.role-expand-bg {
    transform: perspective(1000px) rotateX(30deg) skewX(-20deg);
}

.role-expand-card:hover>.role-expand-role {
    transform: scale(1.3);
}

.role-expand-card:hover>.role-expand-content{
    opacity: 1;
    transform: translateY(120px);
}
